package com.htwy.core.route;

import com.htwy.core.controller.AccountController;
import com.htwy.core.controller.AttachmentController;
import com.htwy.core.controller.DatasetController;
import com.htwy.core.controller.DictionaryController;
import com.htwy.core.controller.MenuController;
import com.htwy.core.controller.OrgnazationController;
import com.htwy.core.controller.PermissionController;
import com.htwy.core.controller.RoleController;
import com.jfinal.config.Routes;

public class CoreRoutes extends Routes {
    @Override
    public void config() {
        add("/core/dictionary", DictionaryController.class, "/com/htwy/core/view/Dictionary");
        add("/core/orgnazation", OrgnazationController.class, "/com/htwy/core/view/Orgnazation");
        add("/core/account", AccountController.class, "/com/htwy/core/view/Account");
        add("/core/dataset", DatasetController.class, "/com/htwy/core/view/Dataset");
        add("/core/menu", MenuController.class, "/com/htwy/core/view/Menu");
        add("/core/permission", PermissionController.class, "/com/htwy/core/view/Permission");
        add("/core/role", RoleController.class, "/com/htwy/core/view/Role");
        add("/core/attachment", AttachmentController.class, "/com/htwy/core/view/Attachment");

    }

}
